<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
    "http://www.w3.org/TR/1998/REC-html40-19980424/loose.dtd">
<html><head>
    <title>System </title>
	<meta name="generator" content="HeaderDoc">
</head><body bgcolor="#ffffff"><h1><font face="Geneva,Arial,Helvtica">System </font></h1><hr><br>
<h2>Abstract</h2>
This class is a Singleton. It enable all module have an access to usefull information.
<h2>Discussion</h2>
Here is registered system sampleRate, ie the rate wich divide a sample
Usually it's 48 Khz or 96 Khz. 44,1 Khz is to few for quality sound.
With the sample rate, we have the pediod time: 1/sampleRate, and then with sampleSize
we can compute the sample duration: 
Furthermore System contain information about a sample, its size and the duration of a sample.
For instance, at 48 Khz if we want a sample wich during 1 millisecond
we need the sample size: 48000*0.001 = 48.
By default frequency = 48000Hz and sampleDuration = 0.001
<hr><br><h2>Methods</h2>

<h3><a name="setFrequency:">setFrequency:</a></h3>
<b>Abstract:</b> Set the system sample rate

<blockquote><pre><tt>@property(assign)double <B>sampleRate;</B> </tt><br>
</pre></blockquote>
<p>We allow only three frequency: 48,96 and 192 Khz
</p>
<h4>Parameters</h4>
<blockquote>
<table border="1"  width="90%">
<thead><tr><th>Name</th><th>Description</th></tr></thead>
<tr><td align="center"><tt>aValue</tt></td><td>The Value of the new Frequency in Hertz</td></tr>
</table>
</blockquote>
<hr>

<h3><a name="setSampleSize">setSampleSize</a></h3>
<b>Abstract:</b> Set the system sample size

<blockquote><pre><tt>@property(assign)NSUInteger <B>sampleSize;</B> </tt><br>
</pre></blockquote>
<p></p>
<hr>
<p>(Last Updated 2/19/2010)
</p></body></html>
